#ifndef AST_DECLARATIONS_STORAGE_CLASS_SPECIFIER_H
#define AST_DECLARATIONS_STORAGE_CLASS_SPECIFIER_H

#include "../ASTNode.h"

/*
C99  6.7.1
storage-class-specifier:
		typedef
		extern
		static
		auto
		register
*/
class StorageClassSpecifier : public ASTNode
{
public:
	enum{
		_typedef,
		_extern,
		_static,
		_auto,
		_register,
	};
protected:
	StorageClassSpecifier(void)
		: ASTNode(ASTNode::storage_class_specifier){};
public:
	StorageClassSpecifier(int iType)
		: ASTNode(ASTNode::storage_class_specifier)
		, m_iType(iType){};

	virtual ~StorageClassSpecifier(void){};

	virtual void						codeGen();

protected:
	tiny_int					m_iType;
};


#endif

